﻿using CodeCube.Common;
using System;
using System.Collections.Generic;
using System.Text;

namespace CodeCube.Business
{
    public class Auth
    {
        public ApiResult<BooleanParm> Login(string mAccount,string mPassword)
        {
            var result = new ApiResult<BooleanParm>();
            result.success = true;
            result.message = "操作成功";
            result.data = new BooleanParm { 
                result = true, 
                message = "成功" 
            };
            return result;

        }
        public ApiResult<BooleanParm> Logout()
        {
            var result = new ApiResult<BooleanParm> { message = "注销成功" };
            return result;
        }
    }
}